<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.d1 {
				width: 200px;
				height: 200px;
				background-color: red;
				/* position: absolute; */
				/* left: 100px; */
				/* top: 100px; */
			}

			.d3 {
				width: 100px;
				height: 100px;
				background-color: green;
				position: relative;
				left: 250px;
				top: 250px;
			}
			
			.d0 {
				width: 500px;
				height: 500px;
				background-color: aquamarine;
				position: relative;
				left: 200px;
			}
		</style>
	</head>
	<body>
		<!-- 爷 -->
		<div class="d0">
			<!-- 父 -->
			<div class="d1">
				<!-- 子 -->
				<div class="d3"></div>
			</div>
		</div>
	</body>
</html>
